
<template>
  <img :src="config.src" :alt="config.alt" class="image-component">
</template>

<script setup>
import { defineProps } from 'vue'
defineProps({
  config: {
    type: Object,
    required: true
  }
})
</script>

<style>
.image-component {
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
}
</style>
